package com.texaco.chapasFutbol.resources;

/**
 * Clase que modela un recurso.
 * @author texaco
 *
 */
public class Resource {
	
	/*
	 * Dimensiones.
	 */
	private int width;
	private int height;
	
	/*
	 * Posiciones en el sprite sheet.
	 */
	private int xPos;
	private int yPos;
	
	/*
	 * Fichero.
	 */
	private String file;
	
	/*
	 * Nombre que recibirá el shape
	 */
	private String shape;

	public Resource(int width, int height, int xPos, int yPos, String file,
			String shape) {
		super();
		this.width = width;
		this.height = height;
		this.xPos = xPos;
		this.yPos = yPos;
		this.file = file;
		this.shape = shape;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getxPos() {
		return xPos;
	}

	public void setxPos(int xPos) {
		this.xPos = xPos;
	}

	public int getyPos() {
		return yPos;
	}

	public void setyPos(int yPos) {
		this.yPos = yPos;
	}

	public String getFile() {
		return file;
	}

	public void setFile(String file) {
		this.file = file;
	}

	public String getShape() {
		return shape;
	}

	public void setShape(String shape) {
		this.shape = shape;
	}
}
